package com.ruoyi.wisdom.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 参数配置对象 iot_config
 * 
 * @author ruoyi
 * @date 2025-01-20
 */
public class IotConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 应用com_id */
    @Excel(name = "应用com_id")
    private Long comId;

    /** 应用corpId */
    @Excel(name = "应用corpId")
    private String corpId;

    /** 接口域名 */
    @Excel(name = "接口域名")
    private String host;

    /** 应用APPID */
    @Excel(name = "应用APPID")
    private String appid;

    /** 应用APPSecret */
    @Excel(name = "应用APPSecret")
    private String appSecret;

    /** 推送数据条数 */
    @Excel(name = "推送数据条数")
    private Integer pushLimit;

    /** 拉取数据条数 */
    @Excel(name = "拉取数据条数")
    private Integer pullLimit;

    /** 是否推送消息 */
    @Excel(name = "是否推送消息")
    private Integer isPushMessage;

    /** 使用人脸队列 */
    @Excel(name = "使用人脸队列")
    private Integer isDetectList;

    /** 数据模块 */
    @Excel(name = "数据模块")
    private String module;

    /** 设备巡检时间 */
    private Integer patrolTime;

    /** 是否启用服务 */
    private Integer enableService;

    /** 识别时间间距 */
    private Integer detectTimeIntervals;

    /** 人脸本地化url(要nginx配合搭建静态目录) */
    private String localFaceUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setComId(Long comId) 
    {
        this.comId = comId;
    }

    public Long getComId() 
    {
        return comId;
    }
    public void setCorpId(String corpId) 
    {
        this.corpId = corpId;
    }

    public String getCorpId() 
    {
        return corpId;
    }
    public void setHost(String host) 
    {
        this.host = host;
    }

    public String getHost() 
    {
        return host;
    }
    public void setAppid(String appid) 
    {
        this.appid = appid;
    }

    public String getAppid() 
    {
        return appid;
    }
    public void setAppSecret(String appSecret) 
    {
        this.appSecret = appSecret;
    }

    public String getAppSecret() 
    {
        return appSecret;
    }
    public void setPushLimit(Integer pushLimit) 
    {
        this.pushLimit = pushLimit;
    }

    public Integer getPushLimit() 
    {
        return pushLimit;
    }
    public void setPullLimit(Integer pullLimit) 
    {
        this.pullLimit = pullLimit;
    }

    public Integer getPullLimit() 
    {
        return pullLimit;
    }
    public void setIsPushMessage(Integer isPushMessage) 
    {
        this.isPushMessage = isPushMessage;
    }

    public Integer getIsPushMessage() 
    {
        return isPushMessage;
    }
    public void setIsDetectList(Integer isDetectList) 
    {
        this.isDetectList = isDetectList;
    }

    public Integer getIsDetectList() 
    {
        return isDetectList;
    }
    public void setModule(String module) 
    {
        this.module = module;
    }

    public String getModule() 
    {
        return module;
    }

    public void setPatrolTime(Integer patrolTime) {
        this.patrolTime = patrolTime;
    }

    public Integer getPatrolTime() { return patrolTime; }

    public void setEnableService(Integer enableService) { this.enableService = enableService; }
    public Integer getEnableService() { return enableService; }

    public void setDetectTimeIntervals(Integer detectTimeIntervals) { this.detectTimeIntervals = detectTimeIntervals; }
    public Integer getDetectTimeIntervals() { return detectTimeIntervals; }

    public void setLocalFaceUrl(String localFaceUrl) { this.localFaceUrl = localFaceUrl; }
    public String getLocalFaceUrl() { return localFaceUrl; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("comId", getComId())
            .append("corpId", getCorpId())
            .append("host", getHost())
            .append("appid", getAppid())
            .append("appSecret", getAppSecret())
            .append("pushLimit", getPushLimit())
            .append("pullLimit", getPullLimit())
            .append("isPushMessage", getIsPushMessage())
            .append("isDetectList", getIsDetectList())
            .append("module", getModule())
            .append("patrolTime", getPatrolTime())
            .append("enableService", getEnableService())
            .append("detectTimeIntervals", getDetectTimeIntervals())
            .append("localFaceUrl", getLocalFaceUrl())
            .toString();
    }
}
